package com.qike.duola.service.impl;

import com.qike.duola.domain.DuolaLog;
import com.qike.duola.domain.DuolaLogWithBLOBs;
import com.qike.duola.mapper.DuolaLogMapper;
import com.qike.duola.service.DuolaLogsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author: Eric.zhou
 * @Date: 2020/10/16 15:46
 */
@Service
public class DuolaLogsServiceImpl implements DuolaLogsService {


    @Autowired
    private DuolaLogMapper duolaLogMapper;


    /**
     * 记录日志
     * @param duolaLog
     */
    @Override
    public void saveLog(DuolaLogWithBLOBs duolaLog){
        duolaLogMapper.insertSelective(duolaLog);
    }
}
